package com.itheima.services;

import com.itheima.pojo.*;

import java.util.List;

public interface BusinessServices {
    public User Blogin(User user);
    public List<Emp> showEmp();
    public List<Emp> conShowEmp(String name);
    public Emp changeEmp1(Long empId);

    public Result changeEmp2(Emp emp);

    public void changeState(String state,Long empId);

    public Result addEmp(Emp emp);

    public List<FoodCategory> showCategory();

    public List<Food> showFood();

    public Food changeFood1(Long foodId);

    public void changeFood2(Food food);

    public List<Food> conShowFood(Food food);

    public void deleteFood(Long foodId);

    public void addFood(Food food);

    public void changeFoodState(Long foodId,String foodState);

    public PageBean showOrders(OrderForm form,int currentPage,int pageSize);

    public void cancelOrder(Long orderId);

    public void acceptOrder(Long orderId);

    public FoodCategory changeCategory1(Long categoryId);

    public void changeCategory2(FoodCategory categoryForm);

    public void deleteCategory(Long categoryId);

    public void addCategory(String category);
}
